<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>选择</title>
	</head>
	<body>
		<!-- 下拉选择搜索多选 -->
		<div id="demo"></div>

		<script src="../assets/js/xm-select.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var vm = xmSelect.render({
				el: "#demo",
				language: 'zn', //语言
				theme: {
					color: '#f37b1d'
				},
				// language:'en',
				data: [ //数据
					{
						name: '周芷若',
						value: 'zzr'
					},
					{
						name: '赵敏',
						value: 'zm'
					}
				],
				// initValue:[{name:'wp',value:'me'}],//默认显示
				tips: 'LOVE', //提示
				empty: 'null', //没有数据时提示
				filterable: true, //是否开启搜索:默认不开启
				searchTips: '我的搜索提示', //搜索提示
				show() {
					alert('wp open!')
				}
			})
		</script>
	</body>
</html>
